翻訳と辞書
Words near each other
・ Johnson v. M'Intosh
・ Johnson v. Robison
・ Johnson v. Southern Pacific Co.
・ Johnson v. United States (2000)
・ Johnson v. United States (2015)
・ Johnson v. Zerbst
・ Johnson Valley, California
・ Johnson Village, Colorado
・ Johnson Wagner
・ Johnson Wax Headquarters
・ Johnson Wildlife Management Area
・ Johnson William Richardson
・ Johnson Zuze
・ Johnson&Jonson
・ Johnson's Addition
Johnson's algorithm
・ Johnson's Baby
・ Johnson's Building
・ Johnson's Chapel AME Church
・ Johnson's criteria
・ Johnson's figure of merit
・ Johnson's Harbour
・ Johnson's Island
・ Johnson's Lock
・ Johnson's Ranch Raid
・ Johnson's Regiment of Militia
・ Johnson's rule
・ Johnson's Russia List
・ Johnson's Shipyard
・ Johnson's Shut-Ins State Park


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Johnson's algorithm : ウィキペディア英語版
Johnson's algorithm

Johnson's algorithm is a way to find the shortest paths between all pairs of vertices in a sparse, edge weighted, directed graph. It allows some of the edge weights to be negative numbers, but no negative-weight cycles may exist. It works by using the Bellman–Ford algorithm to compute a transformation of the input graph that removes all negative weights, allowing Dijkstra's algorithm to be used on the transformed graph.〔. Section 25.3, "Johnson's algorithm for sparse graphs", pp. 636–640.〕〔.〕 It is named after Donald B. Johnson, who first published the technique in 1977.〔.〕
A similar reweighting technique is also used in Suurballe's algorithm for finding two disjoint paths of minimum total length between the same two vertices in a graph with non-negative edge weights.〔.〕
==Algorithm description==
Johnson's algorithm consists of the following steps:〔〔
#First, a new node is added to the graph, connected by zero-weight edges to each of the other nodes.
#Second, the Bellman–Ford algorithm is used, starting from the new vertex , to find for each vertex the minimum weight of a path from to . If this step detects a negative cycle, the algorithm is terminated.
#Next the edges of the original graph are reweighted using the values computed by the Bellman–Ford algorithm: an edge from to , having length , is given the new length .
#Finally, is removed, and Dijkstra's algorithm is used to find the shortest paths from each node to every other vertex in the reweighted graph.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Johnson's algorithm」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.